package com.yubest.designpattern.behavior.vistor;

/**
 * 访问者
 *
 * @Author: hweiyu
 * @Date: 2022/10/26 17:49
 */
public class Visitor {

    public void visit(Item item) {
        System.out.println("visit the item: " + item.getInfo());
    }
}
